home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen… 1994 February Supplement / ARPL-Feb-94-Supplement-PowerPC.iso / 3rd Party PowerPC Demo Apps / Diehl Graphsoft MiniCad-E / MiniCad 5 Demo (Click Me!) / MiniCad 5 Demo (Click Me!).rsrc / STR#_7017.txt < prev    next >
Encoding:
Text File  |  1994-01-18  |  4.2 KB  |  157 lines

  1. GetType(h : Handle) : INTEGER;
  2.  
  3. Returns the object type that h is connected to.
  4.  
  5. GetName(h : Handle) : STRING;
  6.  
  7. Returns the name of the object that h is connected to.
  8.  
  9. GetClass(h : Handle) : STRING;
  10.  
  11. Returns the class of the object that h is connected to.
  12.  
  13. GetBBox(h : Handle; VAR X1, Y1, X2, Y2 : REAL);
  14.  
  15. Receives a handle to an object and returns the coodinates of the bounding box in X1, Y1, X2, Y2.
  16.  
  17. GetFPat(h : Handle) : INTEGER;
  18.  
  19. Returns the fill pattern of the object connected to h.
  20.  
  21. GetLW(h : Handle) : INTEGER;
  22.  
  23. Returns the line weight, in mils, of the object connected to h.
  24.  
  25. GetLS(h : Handle) : INTEGER;
  26.  
  27. Returns the line style of the object that is connected to h.
  28.  
  29. GetFont(h : Handle) : INTEGER;
  30.  
  31. Returns font ID of text connected to h.
  32.  
  33. GetSize(h : Handle) : INTEGER;
  34.  
  35. Returns point size of text connected to h.
  36.  
  37. GetStyle(h : Handle) : INTEGER;
  38.  
  39. Returns style of text connected to h.
  40.  
  41. Selected(h : Handle) : BOOLEAN;
  42.  
  43. Returns TRUE if the object that is connected to h is selected, otherwise it returns FALSE.
  44.  
  45. GetText(h : Handle) : STRING;
  46.  
  47. Returns the text within a text object that h is connected to.
  48.  
  49. GetSegPt1(h : Handle; VAR X, Y : REAL);
  50.  
  51. Returns the first end point of a line that h is connected to.
  52.  
  53. GetSegPt2(h : Handle; VAR X, Y : REAL);
  54.  
  55. Returns the second end point of a line that h is connected to.
  56.  
  57. HasDim(h : Handle) : BOOLEAN;
  58.  
  59. Returns TRUE if the object connected to h has dimension text, otherwise it returns FALSE.
  60.  
  61. GetDimText(h : Handle) : STRING;
  62.  
  63. Returns the dimension text of the object that is connected to h.
  64.  
  65. GetSymName(h : Handle) : STRING;
  66.  
  67. Returns the symbol name of the symbol that is connected to h.
  68.  
  69. GetSymRot(h : Handle) : REAL;
  70.  
  71. Returns the rotation of a symbol instance that is connected to h.
  72.  
  73. GetLocPt(h : Handle; VAR X,Y : REAL);
  74.  
  75. Returns the X, Y coordinate of a locus that is connected to h.
  76.  
  77. GetRRDiam(h : Handle; VAR HorDiameter, VerDiameter : REAL);
  78.  
  79. Returns the horizontal and vertical diameters of a rounded corner of a Rounded Rectangle that is connected to h.
  80.  
  81. GetArc(h : Handle; VAR StartAngle, ArcAngle : REAL);
  82.  
  83. Returns the start angle and arc angle of an arc that is connected to h.
  84.  
  85. GetVertNum(h : Handle) : INTEGER;
  86.  
  87. Returns the number of vertices in the polygon that h is connected to.
  88.  
  89. GetPolyPt(ObjectHandle : HANDLE;  Index : INTEGER; VAR X, Y : REAL);
  90.  
  91. Returns the X, Y location of the Index‚Äôth vertex of the polygon that h is connected to.
  92.  
  93. Get3DCntr(h : Handle; VAR X, Y, Z : REAL);
  94.  
  95. Returns the X, Y, Z center of a 3D object that is connected to h.
  96.  
  97. Get3DInfo(h : Handle; VAR Height, Width, Depth : REAL);
  98.  
  99. Returns the Height, Width, Depth of a 3D object that is connected to ObjectHandle.
  100.  
  101. SprdSize(h : Handle; VAR Rows, Columns : INTEGER);
  102.  
  103. Returns the number of rows and columns of a spreadsheet that is connected to h.
  104.  
  105. CellHasNum(h : Handle; Row, Column : INTEGER) : BOOLEAN;
  106.  
  107. Returns TRUE if the spreadsheet cell specified by Row, Column contains a number; otherwise it returns FALSE.
  108.  
  109. CellHasStr(h : Handle; Row, Column : INTEGER) : BOOLEAN;
  110.  
  111. Returns TRUE if the spreadsheet cell specified by Row, Column contains a string; otherwise it returns FALSE.
  112.  
  113. GetCellStr(h : Handle; Row, Column : INTEGER) : STRING;
  114.  
  115. Returns the string contained in the spreadsheet cell specified by Row, Column.
  116.  
  117. GetCellNum(h : Handle; Row, Column : INTEGER) : REAL;
  118.  
  119. Returns the number contained in the spreadsheet cell specified by Row, Column.
  120.  
  121. GetCWidth(h : Handle; Row, Column : INTEGER) : INTEGER;
  122.  
  123. Returns the width of the spreadsheet cell specified by Row, Column.
  124.  
  125. GetCAlign(h : Handle; Row, Column : INTEGER) : INTEGER;
  126.  
  127. Returns the alignment of the spreadsheet cell specified by Row, Column.
  128.  
  129. HArea(h : Handle) : REAL;
  130.  
  131. Returns the area of the object that is connected to h.
  132.  
  133. HPerim(h : Handle) : REAL;
  134.  
  135. Returns the perimeter of the object that is connected to h.
  136.  
  137. HLength(h : Handle) : REAL;
  138.  
  139. Returns the length of the object that is connected to h.
  140.  
  141. HWidth(h : Handle) : REAL;
  142.  
  143. Returns the width of the object that is connected to h.
  144.  
  145. HHeight(h : Handle) : REAL;
  146.  
  147. Returns the height of the object that is connected to h.
  148.  
  149. HAngle(h : Handle) : REAL;
  150.  
  151. Returns the angle of the object that is connected to h.
  152.  
  153. HCenter(h : Handle; VAR X, Y : REAL);
  154.  
  155. Returns the X, Y center of the object that is connected to h.
  156.  
  157.